﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebForms/Site.Master" AutoEventWireup="true" CodeBehind="GuestReservation.aspx.cs" Inherits="DelonixRegiaHMSys.UI.WebForms.GuestReservation" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="wrapper">
        <div id="content">
            <h2>Guest ID: <asp:Label runat="server" ID="lblgid"></asp:Label></h2>
            <br />
            <br />
            The guest had made the following reservation:<br />
            <br />
            <asp:GridView ID="GridViewReservation" AutoGenerateColumns="false" runat="server">
                <Columns>
                    <asp:BoundField HeaderText="ReservationID" DataField="reservationID" />
                    <asp:BoundField HeaderText="Number of Adults" DataField="numOfAdults" />
                    <asp:BoundField HeaderText="Number of Children" DataField="numOfChildren" />
                    <asp:BoundField HeaderText="Arrival Date" DataField="arrivalDate" />
                    <asp:BoundField HeaderText="Room Type" DataField="roomType" />
                    <asp:BoundField HeaderText="Bed Type" DataField="bedType" />
                    <asp:BoundField HeaderText="Smoking or Not" DataField="smokingOrNot" />
                    <asp:BoundField HeaderText="Additional Remarks" DataField="addRemarks" />
                    <asp:BoundField HeaderText="Status" DataField="reservationStatus" />
                    <asp:TemplateField HeaderText="">
                        <ItemTemplate>
                            <asp:LinkButton runat="server" ID="lbtncfar" OnClick="lblcfar_Click" CommandArgument='<%# Eval("reservationID") + ";" + Eval("numOfAdults") + ";" + Eval("numOfChildren") + ";" + Eval("arrivalDate") + ";" + Eval("roomType") + ";" + Eval("bedType") + ";" + Eval("smokingOrNot") + ";" + Eval("addRemarks") + ";" + Eval("reservationStatus") %>'>Proceed to Check In</asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                
            </asp:GridView>

        </div>
        <div id="left">
            <h3>This is the the Reservation made by <asp:Label runat="server" ID="lblguestID"><%# Eval("guestID") %></asp:Label>!</h3>
            <p class="auto-style7">Please fill in the System Account Details that is required of changes and click Update.</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>
            </p>
        </div>

        <div class="clear"></div>
    </div>
</asp:Content>
